package cn.exrick.xboot.modules.commonLink.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.exrick.xboot.modules.commonLink.entity.CommonLink;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 常用链接接口
 * @author Exrick
 */
public interface ICommonLinkService extends IService<CommonLink> {

    /**
     * 20190724
     * njp
     * 新增常用链接分页的条件查询(使用map作为条件的载体)
     * map 为参数
     */
    public IPage<CommonLink> selectCommonLinkPageVoMap(Page page, @Param("map") Map<String,Object> map);
    /**
     * 获取num条的数据
     * @param map
     * @return
     */
    public List<CommonLink> selectCommonLinkByNum( @Param("map") Map<String,Object> map);
}